package com.zhang.crm.service.impl;

import com.zhang.crm.mapper.TProductmapper;
import com.zhang.crm.pojo.TProduct;
import com.zhang.crm.service.ProductService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {

    @Resource
    private TProductmapper tProductmapper;
    @Override
    public List<TProduct> loadProductList() {
        List<TProduct> productList = tProductmapper.selectProductList();
        return productList;
    }
}
